<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<%=request.getContextPath() %>/res/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<!-- 调用cookie.js 设置cookie -->
<c:if test="${!empty userKey }">
	<iframe style="display: none;" src="<%=request.getContextPath() %>/cookies.js?userKey=${userKey}"></iframe>
</c:if>
<div style="width: 500px; margin: 0 auto;">
<h2>提示信息</h2>
	<div class="alert alert-success">登录成功！</div>
</div>
	
	<c:if test="${!empty callback }">
		<script type="text/javascript">
			window.onload=function(){
				window.location.href="${callback }";
			}
		</script>
	</c:if>
	<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
	 <script src="<%=request.getContextPath() %>/res/js/bootstrap.min.js"></script>
</body>
</html>